﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Projectmanagement.Entity;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Projectmanagement.Utl;

namespace Projectmanagement.Models
{
    public class _Construct : EntityBase
    {
        [Display(Name = "联系人"), Required]
        public string ConstructName { get; set; }
        [Display(Name = "联系方式"), Required]
        public string ConstructWay { get; set; }
        [Display(Name = "其他联系方式"), Required]
        public string ConstructOtherWay { get; set; }
        [Display(Name = "说明"), Required]
        public string ConstructDesc { get; set; }
        [Display(Name = "联系人职位"), Required]
        public string ConstructPost { get; set; }
        [Display(Name = "城市"), Required]
        public int? City { get; set; }


        public IEnumerable<SelectListItem> GetCitySelectListItems()
        {
            var selectList = CH.DB.Citys.ToList().Select(a => new SelectListItem
            {
                Text = a.Name,
                Value = a.ID.ToString()
            });
            return selectList;
        }
        [Display(Name = "上传文件")]
        public string TravelFileId { get; set; }
        [Display(Name = "公司名称")]
        public string ComyanyName { get; set; }

      
        [Display(Name = "投影机3500报价"), Required]
        public string ProjectorThreePrice { get; set; }
        [Display(Name = "投影机5500报价"), Required]
        public string ProjectoFivePrice { get; set; }
        [Display(Name = "100英寸报价"), Required]
        public string ScreenZeroPrice { get; set; }
        [Display(Name = "120英寸报价"), Required]
        public string ScreenTwoPrice { get; set; }
        [Display(Name = "150英寸报价"), Required]
        public string ScreenFivePrice { get; set; }
        [Display(Name = "调音台"), Required]
        public string SoundConsole { get; set; }
        [Display(Name = "讲台麦"), Required]
        public string SoundPlatform { get; set; }
        [Display(Name = "无线麦"), Required]
        public string SoundSic { get; set; }
        [Display(Name = "小蜜蜂"), Required]
        public string SoundApis { get; set; }
        [Display(Name = "背景板"), Required]
        public string VIBackPlat { get; set; }
        [Display(Name = "背景板报价"), Required]
        public string VIBackPlatPrice { get; set; }
        [Display(Name = "X展架"), Required]
        public string VIXback { get; set; }
        [Display(Name = "易拉宝"), Required]
        public string VIRollUp { get; set; }
        [Display(Name = "KT板"), Required]
        public string VIKT { get; set; }
    }
}